import request from '@/utils/request'
/* 
告警记录
 */


//列表
export function getPoleListAPI(obj){
    return request({
        url:'/pole/warning/list',
        method:'GET',
        params:obj
    })
}

export function delPoleListAPI(id){
    return request({
        url:'/pole/warning/'+id,
        method:'DELETE'
    })
}

//详情
export function getDetailListAPI(id){
    return request({
        url:'/pole/warning/'+id,
        method:'GET',
    })
}